ComponentOne EventsCalendar for ASP.NET Web Forms
C1.Web.Wijmo.Controls.45 Assembly / C1.C1Schedule Namespace / AppointmentList Class / Sort Method / Sort(IComparer<Appointment>) Method
The IComparer{Appointment} implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer.

In This Topic
    Sort(IComparer<Appointment>) Method
    In This Topic
    Sorts the elements in the entire AppointmentList using the specified comparer.
    Syntax
    'Declaration
     
    Public Overloads Sub Sort( _
       ByVal comparer As System.Collections.Generic.IComparer(Of Appointment) _
    ) 
    public void Sort( 
       System.Collections.Generic.IComparer<Appointment> comparer
    )

    Parameters

    comparer
    The IComparer{Appointment} implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer.
    See Also